﻿using System;
using MediatR;
using Elasticsearch.Synchronize.Domain.Aggregates.SynchronizeAggregate;

namespace Elasticsearch.Synchronize.Domain.Events
{
    public class ScanSynchronizeItemDomainEvent : INotification
    {
        public ScanSynchronizeItemDomainEvent(SynchronizeItem synchronizeItem, DateTime createTime)
        {
            this.SynchronizeItem = synchronizeItem;
            this.CreateTime = createTime;
        }


        public SynchronizeItem SynchronizeItem { get; }

        public DateTime CreateTime { get; }
    }
}